AdThrive_Ads\Components\Ads\Main C

Total Complexity 120
Dependencies 1
Dependents 0
Total lines 670
Lines of code 453
Logical lines of code 238
Comment lines 129
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
ad_head()
C
38 25 61
body_class()
B
44 19 38
init()
A
47 9 38
get_cls_file()
S
52 6 27
has_essential_site_ads_keys()
S
76 6 3
save_site_files()
S
54 4 21
parse_cls_deployment()
S
57 4 18
insert_cls_file()
S
56 4 17
all_objects()
S
46 2 43
get_site_ads_config_query_param()
S
58 3 15
get_remote_site_ads()
S
58 3 14
get_site_js()
S
61 3 13
add_options()
S
47 1 43
selectize_sanitize()
S
70 3 6
selectize_escape()
S
70 3 6
ajax_terms()
S
64 3 9
get_option_value()
S
64 3 10
get_term_selectize()
S
63 2 10
get_remote_file()
S
68 2 8
get_remote_cls_file_url()
S
68 2 7
get_remote_cls_hash()
S
77 2 3
get_site_ads_environment()
S
76 2 3
sanitize_checkbox()
S
79 2 3
check_cls_insertion()
S
67 1 8
adthrive_preload()
S
75 1 5
get_site_id()
S
79 1 3
get_selectize()
S
72 1 6
pluck_body_class()
S
80 1 3
pluck_name()
S
82 1 3
setup()
S
64 1 9